Evgeny Dmitrichenko Posted June 21, 2018 Posted June 21, 2018 Hello, everybody. I have an orange pi pc2 device with armbian-release on it: BOARD=orangepipc2 BOARD_NAME="Orange Pi PC2" BOARDFAMILY=sun50iw2 VERSION=5.46 LINUXFAMILY=sunxi64 BRANCH=next ARCH=arm64 IMAGE_TYPE=custom BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image I was install my nodejs app on it, which lunch on start up. Device now is remote. Everything was fine, but now i have a look at log (my nodejs log) and see strange reboots after that my app dose not lunch. When I ask people (device is remote and is ON) do OUT/IN power on it - after that everesing fine until the another randomly reboot start (one or two times per day). Remotly i have access to nodejs child_process only, I have oportunity remotly write command to console and device send me back the output. I was try to read /var/log/kern.log, but nodejs don't have permissions. I have only remote command line with no root permissions and logs: /var/log/armhwinfo.log lastlog and faillog that not give me answers why armbian randomly reboot and why after this reboots my app dont lunch on start up. Could you direct me what I can do to find the answer on question "why my device go to strange reboot"? armhwinfo.log
Tido Posted June 22, 2018 Posted June 22, 2018 Hi Dmitri, For these kind of problems we have a dedicated forum, please look here first: https://forum.armbian.com/forum/31-sd-card-and-power-supply/
Evgeny Dmitrichenko Posted June 22, 2018 Author Posted June 22, 2018 I just learned, that this randomly reboot happened because the power went down. But when the power go up again: device is on, light-emitting diode blinking, Ethernet port blinking, but my app dose not start. Is it possible that armbian dose not load operating system normally (after power go down and up again) and load some armbianmonitor or something like that?
Tido Posted June 22, 2018 Posted June 22, 2018 10 minutes ago, Evgeny Dmitrichenko said: Is it possible that armbian dose not load operating system normally (after power go down and up again) Yes. How to freeze your filesystem? In certain situations it is desirable to have a virtual read-only root filesystem... https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-freeze-your-filesystem
Recommended Posts